project=bf
outdir=build

target=$(outdir)/$(project)
source = main.c

main: $(outdir) main.c 
	gcc -g -o $(target) main.c --save-temps

macro: $(outdir) main.c 
	gcc -g -o $(target) main.c -DGOLDFISH --save-temps

$(outdir):
	mkdir -p $(outdir)


clean:
	rm -r $(outdir)

.PHONY: main macro clean